<template>
  <div class="login-container flx-center">
    <SwitchDark class="dark" />
    <div class="login-content">
      <div class="login-left">
        <img src="@/assets/images/login_left2.png" alt="login">
      </div>
      <div class="login-box">
        <img class="login-img" src="@/assets/images/form_icon.png" alt="form_icon">
        <div class="login-form">
          <div class="login-logo">
            <p class="logo-text">ApiAdmin V5</p>
          </div>
          <LoginForm />
          <div style="margin-top: 35px;font-size: 12px;color: #909399; text-align: center">
            前端框架由<a href="https://gitee.com/laramie/Geeker-Admin" target="_blank">@GeekerAdmin</a>强力驱动
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts" name="login">
import SwitchDark from "@/components/SwitchDark/index.vue";
import LoginForm from "./components/LoginForm.vue";
</script>

<style scoped lang="scss">
@import "./index.scss";
</style>
